﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using CanDoo.Core.Data;
using CanDoo.Data;
using CanDoo.Admin.Core.Models;

namespace CanDoo.Oil.Core.Models
{
    /// <summary>
    /// 实体类——收付款方式
    /// </summary>
    [Serializable]
    [Description("收付款方式")]
    public class PayType :  DictionaryEntityBase
    {
        /// <summary>
        ///开户银行
        /// </summary>
        [Display(Name = "开户银行")]
        [Required, StringLength(50)]
        public string Bank { get; set; }

        /// <summary>
        ///卡号
        /// </summary>
        [Display(Name = "卡号")]
        [StringLength(50)]
        public string CardNo { get; set; }

        
    }
}
